package com.hzqy.persistence.dao.industry;

import com.hzqy.persistence.dao.core.PersistenceDao;
import com.hzqy.web.vo.industry.medical.SdGoodOrderVo;
import com.hzqy.web.vo.industry.medical.SdGoodSysBrand;
import com.hzqy.web.vo.industry.medical.SdUserVo;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public class SdGoodDao extends PersistenceDao<SdGoodSysBrand, Integer> {
    
    public List<SdGoodSysBrand> selectSys(){
        String namespace = this.getNamespace();
        return getSqlSession().selectList(namespace + "selectSys");
    }
    
    public List<SdGoodSysBrand> selectGoods(SdGoodSysBrand sdGoodSysBrand) {
        String namespace = this.getNamespace();
        return getSqlSession().selectList(namespace + "selectGoods",sdGoodSysBrand);
    }
    
    public List<SdGoodSysBrand> selectBrands(SdGoodSysBrand sdGoodSysBrand) {
        String namespace = this.getNamespace();
        return getSqlSession().selectList(namespace + "selectBrands",sdGoodSysBrand);
    }
}
